home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: uu4news.netcom.com!zodiac!szh
- From: szh@zcon.com (Syed Zaeem Hosain)
- Subject: Re: square root
- Message-ID: <1996Mar16.055541.8539@zcon.com>
- Sender: szh@zcon.com (Syed Zaeem Hosain)
- Nntp-Posting-Host: zodiac
- Reply-To: szh@zcon.com
- Organization: Z Consulting Group
- References: <84210-826932839@mindlink.bc.ca>
- Date: Sat, 16 Mar 1996 05:55:41 GMT
-
- In article <84210-826932839@mindlink.bc.ca>, Kandiah_Ratnavale@mindlink.bc.ca (Kandiah Ratnavale) writes:
- >I am trying to learn C
- >
- >When I try to write a program to calculate a square root, I have included
- >stdio.h and math.h and I get an error message saying
- >
- >"Undefined symbol _sqrt referenced from text segment"
- >
- >and my program does not compile!
- >
- >Can anyone clarify the problem and give me some lead as to what I am doing
- >wrong?
- >
- >I am using the Linux OS in X Windows.
-
- *Most likely*, the answer to question:
-
- 14.3: I'm trying to do some simple trig, and I am #including <math.h>,
- but I keep getting "undefined: sin" compilation errors.
-
- in the FAQ also applies to your situation. Please read the FAQ that can
- be found at rtfm.mit.edu:/pub/usenet/comp.lang.c.
-
- Z
-
-
- --
- -------------------------------------------------------------------------
- | Syed Zaeem Hosain P. O. Box 610097 (408) 441-7021 |
- | Z Consulting Group San Jose, CA 95161 szh@zcon.com |
- -------------------------------------------------------------------------
-